<ion-view view-title="{{theUser.profile.name}}">
    <ion-content class="wrap-light">
		<ion-list>
				<ion-item class="item-icon-left item-icon-right" >
					<i class="icon ion-ios-person-outline dark2"></i>
			    <span class="list-label text-left">姓名</span>
			    <span>{{theUser.profile.name}}</span>
			    <i class="icon dark2" ng-class="{'ion-male': theUser.profile.sex=='男','ion-female': theUser.profile.sex=='女'}"></i>
				</ion-item>

				<ion-item class="item-icon-left">
					<span class="list-label text-left">所属部门</span>
					<span>{{theUser.profile.department}}</span>
				</ion-item>

				<ion-item class="item-icon-left">
					<span class="list-label text-left">职能</span>
					<span>{{theUser.profile.roleName}}</span>
				</ion-item>

				<ion-item class="item-icon-left">
				    <i class="icon ion-android-wifi dark2"></i>
				    <span class="list-label text-left">状态</span>
				    <span ng-class="{'balanced':theUser.profile.state=='在职'}">{{theUser.profile.state}}</span>
				</ion-item>

					<div class="button-bar">
					  <!-- <a class="button balanced" ng-href="#/user-{{theUser.profile._id}}"><i class="icon ion-eye"></i> 查看</a> -->
					  <a class="button balanced margin" ng-click="call()"><i class="icon ion-ios-telephone-outline"></i> 拨号</a>
					  <a class="button balanced margin" ng-click="newChat()"><i class="icon ion-ios-chatboxes-outline"></i> 通知</a>
					</div>
			</div>


		</ion-list>
	</ion-content>
</ion-view>
